﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" Title="Security - GluayGluay.com" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
    <div>
        <table cellpadding="0" cellspacing="0" style="width: 100%">
            <tr>
                <td style="vertical-align: middle; width: 100%; height: 500px; text-align: center"
                    align="center">
                    <img src="/images/gg-logo/logo-gluaygluay.png" alt="Logo" title="GluayGluay" width="150px" height="115px" /><br />
                    <p>
                        <b>GluayGluay.com</b></p>
                    <table cellpadding="0" cellspacing="0" style="width: 300px" align="center">
                        <tr>
                            <td align="left" style="width: 100px; height: 24px">
                                User ID
                            </td>
                            <td align="left" style="width: 100px; height: 24px">
                                <asp:TextBox ID="TextBox1" runat="server" MaxLength="10" Width="150px"></asp:TextBox>
                            </td>
                            <td align="left" style="width: 100px; height: 24px">
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
                                    ErrorMessage="Enter User ID" Width="100px"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td align="left" style="width: 100px; height: 24px">
                                Password
                            </td>
                            <td align="left" style="width: 100px; height: 24px">
                                <asp:TextBox ID="TextBox2" runat="server" MaxLength="10" TextMode="Password" Width="150px"></asp:TextBox>
                            </td>
                            <td align="left" style="width: 100px; height: 24px">
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2"
                                    ErrorMessage="Enter Password" Width="100px"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td align="left" style="width: 100px">
                            </td>
                            <td align="left" style="width: 100px">
                                <asp:Button ID="btnSignIn" runat="server" OnClick="btnSignIn_Click" Text="Sign In" />
                            </td>
                            <td align="left" style="width: 100px">
                            </td>
                        </tr>
                        <tr style="height: 50px">
                            <td colspan="2">
                                <asp:Label runat="server" ID="lblMessage" ForeColor="Red" Text="" Font-Bold="true" />
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    <div>
    <asp:Label ID="lblCheckStatus" runat="server" />
    </div>
    </form>   
</body>
</html>

<script type="text/javascript">
<!--
    var v = 1;
    function doBlink() {
        var blinkMessage = document.getElementById("<%=lblMessage.ClientID%>");
        //alert(blinkMessage);
        if (v == 0) {
            blinkMessage.style.display = '';
            v = 1;
            //alert('see');
        }
        else {
            blinkMessage.style.display = 'none';
            v = 0;
            //alert('hide');
        }
    }


    function startBlink() {
        setInterval("doBlink()", 1000)
    }
    window.onload = startBlink;
// -->
</script>

